<%--
  Created by IntelliJ IDEA.
  User: 86136
  Date: 2022/3/15
  Time: 13:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
//    Cookie cookie = new Cookie("name", "tom");
//    response.addCookie(cookie);
    Cookie[] cookie=request.getCookies();
    for(Cookie cookie1:cookie){
        out.write(cookie1.getName()+":"+cookie1.getValue()+"<br/>");
    }


%>
</body>
</html>
